<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>

      	<logic:messagesPresent message="true">
  	      <html:messages message="true" id="msg">
  	       <script type="text/javascript" >
  	        var msgs = '<bean:write name="msg" />'; 
	            msgs = msgs.replace(/\?/g, '');
	            msgs = msgs.replace(/en_US./g, '');
	            msgs = msgs.replace(/ko_KR./g, '');
              	alert(msgs);
              	top.location.href = "index.do";
              </script>
  	      </html:messages>
        </logic:messagesPresent>
